import { Spin, SpinProps } from 'antd'

function Loading(props: SpinProps) {
  const tip = props?.tip || "loading"
  return (<div className='loadingWrap'>
    <Spin tip={tip} {...props} />
  </div>)
}
export default Loading